<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
<#assign base=request.contextPath  />
    <base id="base" href="${base}">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, adminUser-scalable=0">
    <link rel="stylesheet" href="${base}/static/win10/component/layui/css/layui.css" media="all">
    <script>
        var base =  "${base}";
    </script>
</head>
<body>
<br>
<form class="layui-form " action="">


    <button type="button" class="layui-btn" lay-event="edit" id="edit">编辑</button>

         <input disabled type="hidden" id="structureId" name="structureId" value="${repairStructure.structureId!}" >
          <div class="layui-form-item">
              <label class="layui-form-label">结构名字</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="structureName" name="structureName" value="${repairStructure.structureName!}"  autocomplete="off" placeholder="请输入结构名字"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">父级id 顶级为0</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="parentId" name="parentId" value="${repairStructure.parentId!}"  autocomplete="off" placeholder="请输入父级id 顶级为0"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">是否删除 0 可用 / 1删除</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="isDelete" name="isDelete" value="${repairStructure.isDelete!}"  autocomplete="off" placeholder="请输入是否删除 0 可用 / 1删除"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">创建时间</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="createTime" name="createTime" value="${repairStructure.createTime!}"  autocomplete="off" placeholder="请输入创建时间"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">修改时间</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="updateTime" name="updateTime" value="${repairStructure.updateTime!}"  autocomplete="off" placeholder="请输入修改时间"
                         class="layui-input">
              </div>
          </div>
</form>
<script src="${base}/static/win10/component/layui/layui.js?t=1"></script>
<script src="${base}/static/win10/js/jquery-1.8.3.min.js?t=1"></script>
<script>

    $("#edit").click(function(){



        window.location.href=base+"/analyse/repairStructure/admin/editRepairStructureHtml?id="+"${repairStructure.structureId!}"
    });
</script>
</body>
</html>